package com.guan.ordering_sys.generator.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.guan.ordering_sys.generator.entity.CallService;
import com.guan.ordering_sys.generator.mapper.CallServiceMapper;
import com.guan.ordering_sys.generator.service.CallServiceService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.guan.ordering_sys.vo.CallServiceVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 韩思琪
 * @since 2021-06-18
 */
@Service
public class CallServiceServiceImpl extends ServiceImpl<CallServiceMapper, CallService> implements CallServiceService {

    @Autowired
    CallServiceMapper callServiceMapper;

    @Override
    public IPage<CallServiceVo> callServiceList(Page<CallServiceVo> callServiceVoPage) {
        IPage<CallServiceVo> CallServiceVoIPage = callServiceMapper.selectCallService(callServiceVoPage);
        return CallServiceVoIPage;
    }
}
